#[allow(unused)]
enum Color {
    Red,
    Blue,
    Green,
    RGB(u32, u32, u32),
    HSV(u32, u32, u32),
    HSL(u32, u32, u32),
    CMY(u32, u32, u32),
    CMYK(u32, u32, u32, u32),
}
fn main() {
    let color = RGB(11, 22, 33);
    println!("what color is it ?");
    use Color::*;
    match color {
        Red => println!("red"),
        RGB(r, g, b) => println!("rgb=({},{},{})", r, g, b),
        Blue => println!("blue"),
        Green => println!("green"),
        HSL(h, s, l) => println!("{},{},{}", h, s, l),
        HSV(h, s, v) => println!("{},{},{}", h, s, v),
        CMY(c, m, y) => println!("{},{},{}", c, m, y),
        CMYK(c, m, y, k) => println!("{},{},{},{}", c, m, y, k),
    }
}
